
function onAuthorListAddAuthorButtonClick() {
    window.location.href = document.location.origin + "/authoradd";
}

function onAuthorListDeleteAuthor(target) {
    var authorId = $(target).parent().parent().attr("cid");
}

function onAuthorListUpdateAuthor(target) {
    var authorId = $(target).parent().parent().attr("cid");
    window.location.href = document.location.origin + "/authorupdate?id=" + URLencode(authorId);
}